IP VRF Context Configuration Mode Commands


IP VRF Context Configuration Mode Commands
 
The IP VRF Context Configuration Mode is used to create and manage the Virtual Routing and Forwarding (VRF) context instance for BGP/MPLS VPN, GRE, IPSec tunneling or service interfaces for virtual routing, addresses, address resolution options, etc.
note_smallImportant: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
end
Exits the current configuration mode and returns to the Exec mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
end
Usage
Use this command to return to the Exec mode.
exit
Exits the current mode and returns to the parent configuration mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
exit
Usage
Use this command to return to the parent configuration mode.
ip maximum-routes
This command configures the maximum number of routes in an IP VRF routing table configured in this context.
Product
All
Privilege
Security Administrator, Administrator
Syntax
ip maximum-routes max_routes
no ip maximum-routes
no
Disables the configured maximum routes in specific IP VRF context.
max_routes
Sets the maximum number of routes in a specific IP VRF context.
max_routes must be an integer from 1 through 16384.
Usage
Use this command to configure the maximum number of routes in a particular VRF routing table. When the number of routes in the VRF is more than the maximum limit configured, a critical log is generated indicating that the number of routes is over the limit. Once the number of routes in the VRF goes under the limit, a clear log is generated.
The maximum routes configured using this command will be sent to the threshold configuration logic for appropriate action. For more information on threshold configuration, refer to descriptions of the threshold route-service bgp-routes and threshold poll route-service interval commands in the Global Configuration Mode Commands chapter.
Example
The following command sets 1000 routes as a maximum limit for specific VRF context:
ip maximum-routes 1000
mpls map-dscp-to-exp
This command maps the final differentiated services code point (DSCP) bit value in the IP packet header to the final Experimental (EXP) bit value in the MPLS header for incoming traffic.
Product
All
Privilege
Security Administrator, Administrator
Syntax
[no] mpls map-dscp-to-exp dscp dscp_bit_value exp exp_bit_value
no
Disables the configured DSCP bit value mapping to the EXP bit value from a specific IP VRF context.
dscp dscp_bit_value
Specifies the final DSCP bit value which is to map with the final EXP bit value in MPLS header for incoming traffic.
dscp_bit_value specifies the value of DSCP bit values separated in eight groups and represented with integers from 0 through 7.
The default representation of DSCP value in eight groups is given in the following table:
exp exp_bit_value
Specifies the final EXP bit value in MPLS header to which the final DSCP bit value 0 to 7 (represented in eight values) coming from incoming traffic will be mapped.
exp_bit_value is the value of EXP bit in MPLS header and must be an integer between 0 through 7.
Usage
Use this command to map the final DSCP value coming from incoming IP traffic to a final EXP value in MPLS header. This mapping determines the QoS and service parameters to which the packet is assigned.
Example
The following command maps the DSCP value 3 (24 to 31) to EXP bit 3 in MPLS header:
mpls map-dscp-to-exp dscp 3 exp 3
mpls map-exp-to-dscp
Maps incoming the Experimental (EXP) bit value in MPLS header to the internal differentiated services code point (DSCP) bit value in IP packet headers for outgoing traffic.
Product
All
Privilege
Security Administrator, Administrator
Syntax
[no] mpls map-exp-to-dscp exp exp_bit_value dscp dscp_bit_value
no
Disables the configured EXP bit value mapping to DSCP bit value from specific IP VRF context.
exp exp_bit_value
Specifies the incoming EXP bit value in MPLS header to which the internal DSCP bit value 0 to 7 (represented in 8 values) in IP traffic will be mapped.
exp_bit_value is the value of the EXP bit in an MPLS header and must be an integer from 0 through 7.
dscp dscp_bit_value
Maps the DSCP bit value with the incoming EXP bit value in an MPLS header.
dscp_bit_value specifies the value of the DSCP bit values separated in eight groups and represented with integers between 0 through 7.
The default representation of DSCP value in eight groups is given in the following table:
Usage
Use this command to map the incoming EXP bit value in MPLS headers to the DSCP bit value in IP traffic. This mapping determines the QoS and service parameters to which the packet is assigned.
Example
The following command maps the EXP bit value 4 to DSCP value 6 (48 to 55) in IP header:
mpls ap-exp-to-dscp exp 4 dscp 6
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883